//实训1
function getDay(){
    var date = new Date();
    var year = date.getFullYear();
    var month = date.getMonth() + 1;
    var day = date.getDate();
    return year + "年" + month + "月" + day + "日";
}


//实训2
function getTime(){
    var date = new Date();
    var hour = date.getHours();
    var minute = date.getMinutes();
    var second = date.getSeconds(); 
    return hour + "时" + minute + "分" + second + "秒";              
}

//实训3
function optional(){
    var fig = Math.random()*899999+100000;
    return fig;
}



//实训4
function change(){
    var add = "面朝大海春暖花开！！！";
    var b=escape(add);
    return b;
}



//实训5
function convert(){
    var cut = "%u6211%u7684%u5927%u5B66%u65F6%u4EE3%uFF01%uFF01%uFF01";
    var a=unescape(cut);
    return a;
}


